package com.baby.security.service;

import com.baby.security.model.User;
import com.baby.security.pojo.UserInfoDO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2022-06-17
 */
public interface UserService extends IService<User> {
    /**
     * 更加用户名获取信息
     * @param username
     * @return
     */
    User getUserByName(String username);

    /**
     * 查询用户表
     * @param username
     * @return
     */
    UserInfoDO getUserInfoByName(String username);

}
